package com.irdstudio.efp.esb.service.bo.req;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.annotation.JSONPOJOBuilder;
import com.alibaba.fastjson.annotation.JSONType;

/**
 * @description:黑名单查询接口请求参数类
 * @date:2018年12月17日 下午5:30:28
 * @author:hengyh
 */
@JSONType(builder = ZX11001QueryReports.Builder.class)
public class ZX11001QueryReports implements ZXQueryReports {
	private static final long serialVersionUID = -4505867539579681933L;
	
	private String reportId;
	private String queryType;
	private String name;
	private String certNo;
	private String certType;
	private String phone;
	private String copPhone;
	private ZX11001QueryReports() {}
	
	@JSONField(name="CrspdngId")
	public String getReportId() { return reportId; }
	@JSONField(name="QryRsltTp")
	public String getQueryType() { return queryType; }
	@JSONField(name="CustNm")
	public String getName() { return name; }
	@JSONField(name="CertNo")
	public String getCertNo() { return certNo; }
	@JSONField(name="CertTp")
	public String getCertType() { return certType; }
	@JSONField(name="MblNo")
	public String getPhone() { return phone; }
	@JSONField(name="CorpMblNo")
	public String getCopPhone() { return copPhone; }

	@Override
	public String toString() {
		return "ZX11001QueryReports [reportId=" + reportId + ", queryType=" + queryType + ", name=" + name + ", certNo="
				+ certNo + ", certType=" + certType + ", phone=" + phone + ", copPhone=" + copPhone + "]";
	}

	@JSONPOJOBuilder(buildMethod = "build", withPrefix = "with")
	public static class Builder {
		private ZX11001QueryReports buildWith;
		
		public Builder withReportId(String val) 
			{ buildWith.reportId = val; return this; }
		public Builder withQueryType(String val) 
			{ buildWith.queryType = val; return this; }
		public Builder withName(String val) 
			{ buildWith.name = val; return this; }
		public Builder withCertNo(String val) 
			{ buildWith.certNo = val; return this; }
		public Builder withCertType(String val) 
			{ buildWith.certType = val; return this; }
		public Builder withPhone(String val) 
			{ buildWith.phone = val; return this; }
		public Builder withCopPhone(String val) 
			{ buildWith.copPhone = val; return this; }
		public ZX11001QueryReports build() 
			{ return buildWith; }
		public Builder() 
			{ buildWith = new ZX11001QueryReports(); }
		public Builder buildWithExists(ZX11001QueryReports queryReports) 
			{ buildWith = queryReports; return this; }
	}
	
}
